package org.afs.gescol.core.dto.time;

import java.io.Serializable;
import java.util.Date;

import org.scub.foundation.framework.base.dto.IdLabelDto;

/**
 * Dto for period.
 * @author Kobla GBENYO (kobla.gbenyo@gmail.com)
 */
public class PeriodDto implements Serializable {

    /** Serial Version UID. */
    private static final long serialVersionUID = -4017186883574318187L;

    private Long id;

    private String label;

    private IdLabelDto year;

    private Date beginDate;

    private Date endDate;

    /**
     * Get the value of id.
     * @return the id
     */
    public Long getId() {
        return id;
    }

    /**
     * Set the value of id.
     * @param id the id to set
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * Get the value of label.
     * @return the label
     */
    public String getLabel() {
        return label;
    }

    /**
     * Set the value of label.
     * @param label the label to set
     */
    public void setLabel(String label) {
        this.label = label;
    }

    /**
     * Get the value of year.
     * @return the year
     */
    public IdLabelDto getYear() {
        return year;
    }

    /**
     * Set the value of year.
     * @param year the year to set
     */
    public void setYear(IdLabelDto year) {
        this.year = year;
    }

    /**
     * Get the value of beginDate.
     * @return the beginDate
     */
    public Date getBeginDate() {
        return beginDate;
    }

    /**
     * Set the value of beginDate.
     * @param beginDate the beginDate to set
     */
    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    /**
     * Get the value of endDate.
     * @return the endDate
     */
    public Date getEndDate() {
        return endDate;
    }

    /**
     * Set the value of endDate.
     * @param endDate the endDate to set
     */
    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

}
